import request from '@/utils/request'

// 获取题库
export function findBank(params) {
  return request({
    url: '/student/findBank',
    method: 'get',
    params
  })
}
// 获取题目
export function findQuestion(params) {
  return request({
    url: '/student/findQuestion',
    method: 'get',
    params
  })
}
// 获取题目内容
export function findQuestionInfo(params) {
  return request({
    url: '/student/findQuestionInfo',
    method: 'get',
    params
  })
}
// 新增做题记录
export function insertQuestionRecord(data) {
  return request({
    url: '/student/insertQuestionRecord',
    method: 'post',
    data
  })
}
